package com.naiterui.ehp.bs.cms.modules.oms.mapper;

import org.apache.ibatis.annotations.Param;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.naiterui.ehp.bs.cms.common.constants.DsName;
import com.naiterui.ehp.bs.cms.modules.oms.entity.OrderUser;
import com.naiterui.ehp.bs.cms.modules.oms.vo.OrderUserVO;

@DS(DsName.EHP)
public interface OrderUserMapper extends BaseMapper<OrderUser> {

    OrderUserVO getOrderIdAndType(@Param("orderId") Long orderId, @Param("type") Integer type);

}
